package com.geostar.constructionland.common.entity.response;

public enum ExtjsCode {
    SUCCESS(true, "SUCCESS"),
    ERROR(false, "ERROR");

    private final boolean success;
    private final String desc;

    ExtjsCode(boolean success, String desc) {
        this.success = success;
        this.desc = desc;
    }

    public boolean getSuccess() {
        return success;
    }

    public String getDesc() {
        return desc;
    }
}
